package com.bwie.service.impl;

import com.bwie.mapper.StudentMapper;
import com.bwie.pojo.Result;
import com.bwie.pojo.vo.StudentVo;
import com.bwie.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: StudentServiceImpl
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/6/9 9:21
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    StudentMapper mapper;
    @Override
    public Result list() {
        List<StudentVo>list=mapper.list();
        return Result.success("成功",list);
    }

    @Override
    public List<StudentVo> getStudent(String ids) {

        return mapper.getStudent(ids);
    }
}
